home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 68
/
068.d81
/
ps bag
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
5KB
|
181 lines
5 poke53281,0:poke53280,0
10 poke55,0:poke56,141:clr:gosub5000
12 sys57812"dirtovar.o",8,0:poke780,0:poke781,0:poke782,141:sys65493
14 sys57812"shopping bag.o",8,0:poke780,0:poke781,0:poke782,192:sys65493
16 sys57812"psb font",8,0:poke780,0:poke781,0:poke782,8:sys65493
18 poke53272,19
19 goto100
20 print"[159] [176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]
22 [153]md$
24 [153]" -tantantantantantantantantantantantantantantantantantantantantantantantantantantantan<
26 forjj=1tox:printmd$:next
28 print" [173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]"
29 return
30 print"[147]":x=18:gosub20
32 print""tab(29)"[178][157][221][158][208]age[159][157][157][157][157][157][221]"p+1"[159][157][157][157][157][173][192][192][192][192][179]"
36 print""tab(6)"[158]"m$(k):print
37 return
100 dimty$(144),na$(144),le$(144),c$(144),q%(144),m$(7),p%(7),v$(5),w$(5),e$(5)
102 dima,r,x,i,j,k,w,p,q,jj,d$,g%(144)
104 md$=" [221] [221]"
105 fori=1to5:readm$(i),p%(i),v$(i),w$(i),e$(i):next
106 data" [212]wo-[194]lock to [212]hree-[194]lock ",7,"2 ","[212]wo-[194]lock","-3"
107 data" [212]hree-[194]lock to [212]wo-[194]lock ",9,"3 ","[212]hree-[194]lock","-2"
108 data" [208][210][201][206][212][205][193][211][212][197][210] to [208][211] 3-[194][204][207][195][203] ",14,"3 ","[208][210][201][206][212][205][193][211][212][197][210]","-3"
109 data" [208][210][201][206][212][205][193][211][212][197][210] to [208][211] 2-[194][204][207][195][203] ",15,"3 ","[208][210][201][206][212][205][193][211][212][197][210]","-2"
110 data" [208][210][201][206][212] [211][200][207][208] to [208][210][201][206][212][205][193][211][212][197][210] ",16,"2 ","[208][210][201][206][212] [211][200][207][208]",".gra"
111 m$(6)=" [196]irectory ":p%(6)=19
112 m$(7)=" [210]eturn to [204][207][193][196][211][212][193][210] ":p%(7)=21
115 ifflthenfl=0:return
120 print"[147][129] [208] [210] [201] [206] [212] [211] [200] [207] [208] [208] [201] [206] [199] [194] [193] [199]"
122 fori=0to144:ifc$(i)=""theni=144:goto124
123 c$(i)=""
124 next
125 print"[155] by the [204][207][193][196][211][212][193][210] [199]uys"
127 poke214,23:print:print"[159] [213]se [195][210][211][210] [213][208]/[196][207][215][206][159] and [210][197][212][213][210][206][159] to select"
130 poke214,4:print
135 x=3:gosub20:gosub20:x=1:gosub20
140 poke214,5:print:printtab(6)"[158] [208][210][201][206][212] [211][200][207][208] [213]tilities "
150 poke214,12:print:printtab(6)" [208][210][201][206][212][205][193][211][212][197][210] [213]tilities "
160 fori=1to7:poke214,p%(i):print"[154]":printtab(6)m$(i):next
200 k=1
210 poke214,p%(k):print
220 printtab(6)""m$(k)"[145]"
230 geta$:ifa$<>"[145]"anda$<>""anda$<>chr$(13)then230
240 ifa$=chr$(13)then300
245 printtab(6)"[154]"m$(k)
250 ifa$<>"[145]"then270
260 k=k-1:ifk<1thenk=7
265 goto210
270 k=k+1:ifk>7thenk=1
280 goto210
300 ifk=6then700
302 ifk=7then800
305 print"[147][159]"
310 printtab(10)"--- [208]lease wait ---"
311 ww$="[154][210]eading "+w$(k)+" [154]names."
312 print:printtab(21-(len(ww$)/2))ww$
313 fori=1to144:na$(i)="":c$(i)="":next:sys36096
314 j=0:fori=1to144
316 ifna$(i)=""theni=144:goto322
317 ifk=5thenifle$(i)=v$(2)then320
318 ifk=3ork=4thenifright$(na$(i),4)<>".gra"then322
319 ifle$(i)<>v$(k)then322
320 j=j+1:c$(j)=na$(i):g%(j)=i
322 next:p=0:fori=1toj:q%(i)=0:next
330 gosub30:rg=0:fori=p*18+1to(p+1)*18
331 printtab(10)"[154]";:ifq%(i)thenprint"";
332 ifc$(i)<>""thenrg=rg+1
333 printc$(i):next
334 poke214,22:print:print" [211][208][193][195][197][159] toggle [193][159] - toggle all [205][159] menu "
335 print" [210][197][212][213][210][206][159] - next page [198]1[159] - convert "
336 r=1
337 poke198,0:poke214,2+r:print:printtab(8)">"tab(27)"<[145]"
338 geta$:ifa$="m"then120
339 ifa$<>" "anda$<>"a"anda$<>chr$(13)anda$<>"[133]"anda$<>"[145]"anda$<>""then338
340 ifa$="[133]"then400
342 ifa$<>chr$(13)then348
344 p=p+1:ifp*18>jthenp=0:goto330
346 goto330
348 ifa$<>"a"then355
349 forii=1toj:q%(ii)=1-q%(ii):next
351 poke214,3:print
352 forn=p*18+1top*18+18:ifq%(n)thenprinttab(10)""c$(n):goto354
353 ifq%(n)=0thenprinttab(10)"[154]"c$(n)
354 next:goto337
355 ifa$<>" "then360
356 ifq%(p*18+r)=0thenprinttab(10)""c$(p*18+r)"[145]":q%(p*18+r)=1:goto337
358 printtab(10)"[154]"c$(p*18+r)"[145]":q%(p*18+r)=0:goto337
360 printtab(8)" "tab(27)" "
362 ifa$<>"[145]"then366
364 r=r-1:ifr<1thenr=rg
365 goto337
366 r=r+1:ifr>rgthenr=1
368 goto337
397 :
398 : conversion
399 :
400 fori=1toj:ifq%(i)=0then498
401 ifk<>3andk<>4then407
402 d$=left$(c$(i),len(c$(i))-4)
403 ifasc(left$(d$,1))<97thend$=d$+e$(k):goto415
404 dd$="":fori4=1tolen(d$):zz=asc(mid$(d$,i4,1))
405 dd$=dd$+chr$(zz+32*(zz>64))
406 next:d$=dd$+e$(k):goto415
407 ifk<>5then411
408 d$=c$(i):l2=len(d$):fori2=1tol2
409 ifmid$(d$,i2,1)=" "thend$=left$(d$,i2-1)+"-"+right$(d$,l2-i2)
410 next
411 d$=left$(d$,12)+e$(k)
415 print"[147]"
420 x=8:gosub20:poke214,3:print:printtab(6)"[158]"m$(k)
430 poke214,5:print:printtab(15)"[154][195][207][206][214][197][210][212][201][206][199]"
440 printtab(20-(len(c$(i))/2))""c$(i)
450 print:printtab(19)"[154][212][207]"
460 printtab(20-(len(d$)/2))""d$
470 sys57812c$(i),8,0:poke780,0:poke781,0:poke782,197:sys65493
480 open2,dn,1,d$
490 ifk=1thensys49155,197,2:goto498
492 ifk=2thensys49152,197,2:goto498
494 ifk=3thensys49158,77,197,2:goto498
496 ifk=4thensys49161,197,2:goto498
497 ifk=5thengosub500
498 next:goto120
500 ifle$(g%(i))="3 "thensys49158,83,197,2:return
510 sys49164,197,2:return
697 :
698 : directory
699 :
700 ifdn=8then705
701 poke214,19:print:printtab(6)"[150] ([211][150])ource or ([196][150])estination ":poke198,0
702 geta$:ifa$<>"s"anda$<>"d"then702
704 ifa$="d"thenpoke36362,dn:poke36448,dn
705 print"[147] [208]lease wait -- reading directory"
706 print"[159] [215]hile directory scrolls, [211][208][193][195][197] [159]will"
707 print" pause and [209][159] will return to the menu"
708 fori=1to144:na$(i)="":next
710 sys36096:poke36362,8:poke36448,8
720 fori=1to144
730 ifna$(i)=""theni=144:goto750
735 ifpeek(197)=60then735
737 ifpeek(197)=62theni=144:next:goto120
740 printtab(6)"[155]"na$(i)tab(26)"[154]"ty$(i)tab(32)"[159]"le$(i)
750 next
755 printtab(6)""le$(0)"[154]blocks free"
760 print"[159] [208]ress [211][208][193][195][197][159] to return to the menu"
765 poke198,0
770 geta$:ifa$<>" "then770
780 goto120
797 :
798 : loadstar
799 :
800 poke214,21:print
810 printtab(6)"[150] [209]uit? [193]re you sure? (y[150]/n[150]) "
820 geta$:ifa$<>"y"anda$<>"n"then820
830 ifa$="n"then160
840 open15,8,15,"r0:hello connect=hello connect":input#15,er:close15
850 ifer<>63thenend
860 print"[147][144]poke2048,0:poke44,8:load"chr$(34)"hello connect"chr$(34)",8"
870 poke631,13:poke632,82:poke633,213:poke634,13:poke198,4:end
999 goto999
5000 print"[147][129] [208] [210] [201] [206] [212] [211] [200] [207] [208] [208] [201] [206] [199] [194] [193] [199]"
5002 dn=8:fori=9to11
5004 open15,i,15:close15
5006 ifst=0thendn=i:i=11
5008 next
5010 print"[159] [217]our system setup:"
5020 print" [154][196][210][201][214][197] 8 [159]- [211]ource [196]rive"
5030 print" [154][196][210][201][214][197]"dn"[159]- [196]estination [196]rive"
5100 poke214,15:print
5120 print" [155][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184]"
5130 print" [152] "
5140 print" [208][210][201][206][212] [211][200][207][208][208][201][206][199] [194][193][199] "
5150 print" by [198]ender [212]ucker and [211]cott [210]esh "
5160 print" [208]ublished on [204][207][193][196][211][212][193][210] #68 "
5170 print" [211]ubscriptions 1-800-831-2694 "
5180 print" [193]ll [210]ights [210